package com.yunji.hushuang.decorater;

/**
 * @author hushuang
 * @since 2019/10/31
 */
public abstract class CoffeeDecorator implements ICoffee {

    private ICoffee coffee;

    public CoffeeDecorator(ICoffee coffee) {
        this.coffee = coffee;
    }

    @Override
    public int getCost() {
        return coffee.getCost();
    }

    @Override
    public String getIngredients() {
        return coffee.getIngredients();
    }
}
